home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: Connecting a process to a tty
- Date: 12 Apr 1996 11:38:41 -0700
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4km7vhINNa9@keats.ugrad.cs.ubc.ca>
- References: <slrn44mrp31.ekr.sandforr@mcnet.marietta.edu>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
-
- In article <slrn44mrp31.ekr.sandforr@mcnet.marietta.edu>,
- Robert Sandford <sandforr@mcnet.marietta.edu> wrote:
- > programs that use pseudo-ttys. I can disconnect a process from a tty by using ioctl
- > function but I am stumped on connecting or reconnecting a process back to a tty.
- >
- > Any help would be greatly appreciated.
-
- I'd love to help, but the discussion would bore to tears all the non-UNIX
- people who read comp.lang.c.
-
- Read Stevens to find out how to open a master and slave tty. Or just get the
- sources for a telnet daemon and make adjustments to suit your application.
- There is more to the problem than just opening pseudo terminals---you also must
- support, at the slave driver, the Virtual Terminal Protocol used by telnet.
- This protocol has ways to negotiate line/character echo/noecho mode at the
- user's side, ways to transmit a change of window size, etc.
- --
-
-